package com.example.demo.enums;

import lombok.Getter;

/**
 * 媒体文件类型枚举
 *
 * @author jack
 * @data 2021/8/16 4:52 下午
 */
@Getter
public enum MediaTypeEnum {
  IMAGE("image", "图片"),
  VOICE("voice", "语音"),
  VIDEO("video", "视频"),
  FILE("file", "文件"),
  ;
  private final String code;
  private final String name;

  MediaTypeEnum(String code, String name) {
    this.code = code;
    this.name = name;
  }


}
